﻿/******************************************
* 模块名称：实体 SMT_MessageModel
* 当前版本：1.0
* 开发人员：Hart
* 完成时间：2012/2/7
* 版本历史：此代码由 VB/C#.Net实体代码生成工具(EntitysCodeGenerate 4.2) 自动生成。
* 
******************************************/
using System;
using System.Data;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;

namespace SMTC.Model.Model
{
	/// <summary>
	/// 实体 SMT_MessageModel
	/// </summary>
	[Serializable(),Description("Primary:NewId")]
	public class SMT_MessageModel
	{
        #region 构造函数
        /// <summary>
        /// 实体 SMT_MessageModel
        /// </summary>
        public SMT_MessageModel(){}
        #endregion

        #region 私有变量
        private string _newid = null;
        private string _publishuser = null;
        private DateTime _publishdatetime = DateTime.MinValue;
        private Int32 _publevel = Int32.MinValue;
        private string _newstitle = null;
        private string _newscontent = null;
        private string _resuser = null;
        #endregion

        #region 公共属性
        /// <summary>
        /// 主键 消息ID(NOT NULL)
        /// </summary>
        public string NewId
        {
            set{ _newid=value;}
            get{return _newid;}
        }
        /// <summary>
        /// 发布人帐号
        /// </summary>
        public string PublishUser
        {
            set{ _publishuser=value;}
            get{return _publishuser;}
        }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishDateTime
        {
            set{ _publishdatetime=value;}
            get{return _publishdatetime;}
        }
        /// <summary>
        /// 发布级别 0普通，1重要，2紧急
        /// </summary>
        public Int32 PubLevel
        {
            set{ _publevel=value;}
            get{return _publevel;}
        }
        /// <summary>
        /// 信息标题
        /// </summary>
        public string NewsTitle
        {
            set{ _newstitle=value;}
            get{return _newstitle;}
        }
        /// <summary>
        /// 信息内容
        /// </summary>
        public string NewsContent
        {
            set{ _newscontent=value;}
            get{return _newscontent;}
        }
        /// <summary>
        /// 接受人帐号  帐号1;帐号2;
        /// </summary>
        public string ReSUser
        {
            set{ _resuser=value;}
            get{return _resuser;}
        }
        #endregion
	}
}
